import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/home'
import published from '@/components/published'
import Login from '@/components/Login'
import Index from '@/components/Index'
import mysef from '@/components/mysef'
import registered from '@/components/registered'
import detailst from '@/components/pages/detailst'
import labeldetails from '@/components/pages/labeldetails'
import fans from '@/components/pages/fans'
import logins from '@/components/logins'
import forgetpasswod1 from '@/components/compon/forgetpasswod1'
import circleOfConcern from '@/components/pages/circleOfConcern'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/index',
      name: 'Index',
      component: Index
    },
    {
      path: '/detailst/:id',
      name: 'detailst',
      component: detailst
    },
    {
      path: '/labeldetails',
      name: 'labeldetails',
      component: labeldetails
    },
    {
      path: '/fans/:ids',
      name: 'fans',
      component: fans
    },
    {
      path: '/registered',
      name: 'registered',
      component: registered
    },
     {
      path: '/logins',
      name: 'logins',
      component: logins
    },
    {
      path: '/forgetpasswod1',
      name: 'forgetpasswod1',
      component: forgetpasswod1
    },
    {
      path: '/mysef',
      name: 'mysef',
      component: mysef
    },
    {
      path: '/published',
      name: 'published',
      component: published
    },
    {
      path: '/circleOfConcern/:num',
      name: 'circleOfConcern',
      component: circleOfConcern
    },
  ]
})
